package com.zjj.service.impl;

import com.zjj.dao.StudentDao;
import com.zjj.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    @Qualifier(value = "studentDao")//获取对象名
    StudentDao studentDao;


    @Override
    public void showStudentDetail() {
        studentDao.StudentDetail();
    }
}
